﻿using System;
using Seagull.Model;

namespace Seagull.Events.Data
{
    /// <summary>
    /// 当有新数据帧收到时发布事件。参数为通道号。
    /// </summary>
    public class NewFrameEvent:EventBase<Frame>
    {
        #region Singleton

        private static readonly Lazy<NewFrameEvent> _instance =
            new Lazy<NewFrameEvent>(() => new NewFrameEvent());

        public static NewFrameEvent Instance
        {
            get { return _instance.Value; }
        }

        #endregion

        private NewFrameEvent()
        {
        }
    }
}
